package com.example.dao;

import org.springframework.data.jpa.repository.JpaRepository;
//@Mapper
public interface UserDao extends JpaRepository<UserDemo, Long> {

    /**
     * 根据用户名和密码查询用户
     */
    UserDemo findByUsernameAndPassword(String username, String password);
}